Predefined Alerts
To notify the user of an error condition, provide a warning, or ask for confirmation, a script can use one of the several predefined alerts. With one function call the script can easily present a modal alert dialog box which requires the user’s attention before he or she can continue. For example:
AlrtDialog('You must select an object first.');
Another predefined alert will display a string which is typically a question, and provide “Yes” and “No” buttons:
response := YNDialog('Do you wish to continue?')
There are several functions that allow the user to enter values. For example, the function StrDialog allows the user to enter a string and the function PtDialog allows the user to enter a point value. See the VectorScript Function Reference for a complete list of these predefined alert functions.
More complex dialog boxes can have the appearance of an alert with the Standard Icon control. (See Standard Icon).

User Interface : Predefined Alerts

Nemetschek NA
Phone: 410.290.5114
Fax: 410.290.8050